<?php

namespace App\Console;

use App\Console\Commands\UserUUidLiangCheckCommand;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        //检测靓号状态
        UserUUidLiangCheckCommand::class,
        //厅日统计
        Commands\StatisticRoom::class,
        //小游戏统计
        Commands\StatisticGame::class,
        //每分钟发送群发短信服务
        Commands\SendSmsList::class,
        //每分钟更新短信发送状态
        Commands\UpdateSmsSendLog::class,
        //对公结算docx生成
        Commands\UnionSettleCommand::class,
        //官方全员推送
        Commands\SendNotifyAll::class,
        //pk结算
        Commands\pkSendGift::class,
        //修复用户设备丢失问题
        Commands\UserDeviceRepair::class,
        //每日房间消费统计(所有用户)
        Commands\DailyUnionRoomData::class,
        //一起玩游戏人数统计
        Commands\CommandTogetherGameCount::class,
        //一起玩游戏公告数据处理
        Commands\CommandTogetherGameNotice::class,
        //对私公会成员费率调整
        Commands\CommandChangeUnionRate::class,
        //年度活动统计
        Commands\CommandCreateNewYearExcel::class,
        //年度人气票统计
        Commands\CommandCreateNewYearTicketExcel::class,
        //年度财富榜统计
        Commands\CommandCreateNewYearUserExcel::class,
        //年度房间榜统计
        Commands\CommandCreateNewYearRoomExcel::class,
        //年度金豆领取统计
        Commands\CommandCreateNewYearJdExcel::class,
        //修复房间魅力榜
        Commands\CommandTepairCharm::class,
        //修复彩蛋数据
        Commands\CommandRepairColorData::class,
        //生成kov数据表格
        Commands\CreateDayilyExcel::class,
    ];

    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        // $schedule->command('inspire')
        //          ->hourly();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
